package com.feeyo.monitor.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.feeyo.monitor.domain.Vehicle;

/**
 * 车辆类dao
 * @Author <a href="mailto:bliulei@variflight.com">liulei</a>
 * @Description Created by liulei on 2017/5/18 下午5:42.
 */
@Mapper
public interface VehicleMapper {
    int deleteByPrimaryKey(String id);

    int insert(Vehicle record);

    int insertSelective(Vehicle record);

    Vehicle selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Vehicle record);

    int updateByPrimaryKey(Vehicle record);
    
    List<Vehicle> selectByUser(Map param);

    List<Map> selectIdByUser(Map param);
    
    List<Map> selectAll();

    Integer selectCount(Map param);

    List<Map> selectByPage(Map param);

    int updateDeleteStatus(String vehicleId);

    int updateVehicleStatus(Map vehicleId);

    String selectDevidByNumber(String number);

    public List<Map> selectExportAll(Map param);

}